import { Module } from '@nestjs/common';
import { UploadService } from './upload.service';
import { UploadController } from './upload.controller';
import { TypeOrmModule } from "@nestjs/typeorm";
import { FileEntity } from "./entity/file.entity";
import { UserEntity } from "../users/entity/user.entity";

@Module({
  imports:[
    TypeOrmModule.forFeature([FileEntity,UserEntity])
  ],
  providers: [UploadService],
  controllers: [UploadController]
})
export class UploadModule {}
